package krow.dev.gunpobus;

public class Constants {

	public static final boolean DEBUG = true;
	
	public static final String DATABASE_NAME = "GUNPO_BUS";
	public static final int DATABASE_VERSION = 1;
	
	public final class Url{
		
		public static final String BASE = "http://bis.gunpo21.net/mobile";
		
		public static final String ROUTE = BASE + "/routeInfo.jsp";
		
		public static final String STATION = BASE + "/stationNameInfo.jsp";
		
		public static final String NODE = BASE + "/busLocation.jsp";
		
		public static final String ARRIVAL_STATE = BASE + "/busArrStation.jsp";
	}
	
	public final class Parameter{
	
		public static final String ROUTE_ID = "routeId";
		
		public static final String STATION_ID = "stationId";
	}
	
	public final class Attribute{
		
		public static final String CLASS = "class";
		
		public static final String CLICK = "onclick";
		
		public static final String SOURCE = "src";
		
		public static final String REFERENCE = "href";
		
		public static final String COLUMN_SPAN = "colspan";
	}
	
	public final class Value{
		
		public static final String CLASS_DATABOX = "box2";
		
		public static final String CLASS_STATEBOX = "box4";
		
		public static final String CLASS_NODEBOX = "box6";
		
		public static final String CLASS_LICENSE_PLATES = "bustype3";
		
		public static final String CLASS_ROUTE_NAME = "bustype4";
		
		public static final String CLASS_STATION_NAME = "bustype5";
		
		public static final String CLASS_STATION_SERIAL = "bustype7";
		
		public static final int TYPE_ROUTE_SEAT = 0;
		
		public static final int TYPE_ROUTE_VILLAGE = 1;

		public static final int TYPE_ROUTE_DIRECT = 2;
		
		public static final int TYPE_ROUTE_GENERAL = 3;

		public static final int TYPE_FAVORITE_ROUTE = 0;
		
		public static final int TYPE_FAVORITE_STATION = 1;
	}
	
	public final class Invoke{
		
		public static final String KEY_ROUTE_ID = "route_id";
		
		public static final String KEY_ROUTE_NAME = "route_name";
		
		public static final String KEY_ROUTE_TYPE = "route_type";
		
		public static final String KEY_STATION_ID = "station_id";
		
		public static final String KEY_STATION_NAME = "station_name";
		
		public static final String KEY_STATION_SERIAL = "station_serial";
	}
	
	public final class Database{
		
		public final class Favorite{
			
			public static final String TABLE_NAME = "table_favorite";
			
			public static final String COLUMN_NUMBER = "column_number";
			
			public static final String COLUMN_TYPE = "column_type";
			
			public static final String COLUMN_NAME = "column_name";
			
			public static final String COLUMN_ID = "column_id";
			
			public static final String COLUMN_ROUTE_TYPE = "column_route_type";
			
			public static final String COLUMN_STATION_SERIAL = "column_station_serial";
		}
	}
}
